package com.dengyafei.bean;

/**
 * @author 邓亚非
 */
public class UserEntity {
    private Integer id;

    private Integer age;

    private String sex;

    private String profession;

    private String postcode;

    public UserEntity(Integer id, Integer age, String sex, String profession, String postcode) {
        this.id = id;
        this.age = age;
        this.sex = sex;
        this.profession = profession;
        this.postcode = postcode;
    }

    public UserEntity() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession == null ? null : profession.trim();
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode == null ? null : postcode.trim();
    }
}